package com.pluszg.nutrition.common.resp;

import lombok.NoArgsConstructor;

import static lombok.AccessLevel.PRIVATE;

@NoArgsConstructor(access = PRIVATE)
public class ResponseCode {

    //成功
    public static final int SUCCESS = 10001;

    //无效的参数|失败
    public static final int INVALID_PARAM = 10002;

    //会话已过期或者尚未登录
    public static final int NO_AUTHENTICATION = 10003;

    //未获授权
    public static final int PERMISSION_DENIED = 10004;

    //接口未找到
    public static final int NOT_FOUND_HANDLER = 10005;

    //内部错误
    public static final int INTERNAL_ERROR = 19999;
}
